/*
 * @Author       : xiaowu wwl093000@163.com
 * @Date         : 2023-07-18 11:33:38
 * @LastEditTime : 2023-07-18 16:00:34
 * @LastEditors  : xiaowu wwl093000@163.com
 * @FilePath     : /erp-admin-ui/src/api/notice/video.js
 * @Description  : -
 */
import request from '@/utils/request'

// 列表
export function list(query) {
  return request({
    url: '/sysVideo/list',
    method: 'get',
    params: query
  })
}

// 新增
export function add(query) {
  return request({
    url: '/sysVideo/add',
    method: 'post',
    data: query
  })
}

// 详情
export function detail(id) {
  return request({
    url: '/sysVideo/' + id,
    method: 'get'
  })
}

// 修改
export function edit(query) {
  return request({
    url: '/sysVideo/edit',
    method: 'post',
    data: query
  })
}

// 删除
export function remove(ids) {
  return request({
    url: '/sysVideo/remove/' + ids,
    method: 'get'
  })
}